package com.appkubes.mall.core.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * SKU控制
 * @author Rongjie
 */
@Data
@TableName("mall_goods_specific_sku")
@KeySequence(value = "mall_goods_specific_sku_SEQ")
@ApiModel(value = "MallGoodsSpecificSku对象")
public class MallGoodsSpecificSku implements Serializable{

       @ApiModelProperty(value = "应用KEY")
       private String appKey;

       @TableId(value = "specific_sku_key", type = IdType.UUID)
       private String specificSkuKey;

       @ApiModelProperty(value = "商品KEY")
       private String goodsKey;

       @ApiModelProperty(value = "sku编码：关键算法")
       private String skuCode;

       @ApiModelProperty(value = "图片地址")
       private String skuPic;

       @ApiModelProperty(value = "sku价格")
       private BigDecimal skuPrice;

       @ApiModelProperty(value = "sku库存", example = "1")
       private Integer skuStock;

       @ApiModelProperty(value = "sku重量")
       private Double skuWeight;

       @ApiModelProperty(value = "sku维度信息")
       private String skuDims;

       @ApiModelProperty(value = "商品原价")
       private BigDecimal skuOriginalPrice;

       @ApiModelProperty(value = "1:默认;0:非默认", example = "1")
       private Integer isDefault;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
